package cn.jxwazx.sheinspringboot.service;

import cn.jxwazx.sheinspringboot.entity.param.UserLoginParam;
import cn.jxwazx.sheinspringboot.entity.po.UserInfo;
import cn.jxwazx.sheinspringboot.entity.vo.UserPageVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author LoveHuaHua
 * @date 2023年11月11日 22:49
 * @description believe in yourself
 */
public interface UserInfoService extends IService<UserInfo> {


    /**
     * 登录
     * @param userInfo
     * @return {@link String}
     */
    String login(UserLoginParam userInfo);


    /**
     * 获取用户详情
     * @param id
     * @return {@link UserPageVo}
     */
    UserPageVo detail(Long id);
}
